import Vue from "vue";
import App from "./App.vue";

// 路由守卫
import "@/permission";

// 导入router
import router from "@/router";

// 导入vuex
import store from "@/store";

// 导入Element
import Element from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
Vue.use(Element);

// 导入第三方动画库
import "aos/dist/aos.css";

// 导入字体样式和自定义全局样式
import "@/assets/fonts/iconfont.css";
import "@/assets/css/common.scss";

// 导入rem自适应
import "@/utils/rem";

Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
